package com.genexususa.eo.google.data;

import javax.xml.bind.annotation.*;
import java.util.ArrayList;

/**
 * Created with IntelliJ IDEA.
 * User: Emiliano Martinez
 * Date: 2/13/13
 * Time: 6:57 PM
 * To change this template use File | Settings | File Templates.
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "GA_Report")
public class GA_Report {

    @XmlElementWrapper(name = "GA_Campaigns")
    @XmlElement(name = "GA_Campaign")
    public ArrayList<CampaignReport> Campaigns;

    /*@XmlElementWrapper(name = "GA_ConversionTrackers")
    @XmlElement(name = "GA_ConversionTracker")
    public ArrayList<ConversionTrackerReport> ConversionTrackers;  */

    @XmlElementWrapper(name = "GA_AdCallMetricsConversions")
    @XmlElement(name = "GA_AdCallMetricsConversion")
    public ArrayList<AdCallMetricsConversionReport> AdCallMetricsConversions;

    @XmlElementWrapper(name = "GA_Budgets")
    @XmlElement(name = "GA_Budget")
    public ArrayList<BudgetReport> Budgets;

    @XmlElementWrapper(name = "GA_Feeds")
    @XmlElement(name = "GA_Feed")
    public ArrayList<FeedReport> Feeds;

    @XmlElementWrapper(name = "GA_SitelinksAdExtensions")
    @XmlElement(name = "GA_SitelinkAdExtension")
    public ArrayList<GA_SitelinksFeedItem> SitelinksFeedItems;

    @XmlElementWrapper(name = "GA_LocationExtensionAdExtensions")
    @XmlElement(name = "GA_LocationExtensionAdExtension")
    public ArrayList<GA_LocationExtensionsFeedItem> LocationExtensionsFeedItems;

    @XmlElementWrapper(name = "GA_CallsAdExtensions")
    @XmlElement(name = "GA_CallAdExtension")
    public ArrayList<GA_CallsFeedItem> CallsFeedItems;

    @XmlElementWrapper(name = "GA_SitelinksFeedMappings")
    @XmlElement(name = "GA_SitelinkFeedMapping")
    public ArrayList<SitelinksReport> Sitelinks;

    @XmlElementWrapper(name = "GA_LocationExtensionsFeedMappings")
    @XmlElement(name = "GA_LocationExtensionFeedMapping")
    public ArrayList<LocationExtensionReport> LocationExtensions;

    @XmlElementWrapper(name = "GA_CallsFeedMappings")
    @XmlElement(name = "GA_CallsFeedMapping")
    public ArrayList<CallsAdExtensionReport> Calls;

    /*@XmlElementWrapper(name = "GA_BiddingStrategies")
    @XmlElement(name = "GA_BiddingStrategy")
    public ArrayList<GA_SharedBiddingStrategy> BiddingStrategies; */



    @XmlElement(name = "GA_Account")
    public AccountReport Account;

    @XmlElement(name = "HasError")
    public boolean HasError;

    @XmlElement (name = "Errors")
    public ErrorsStruct Errors;


    public GA_Report(){
        //ConversionTrackers = new ArrayList<ConversionTrackerReport>();

        Campaigns = new ArrayList<CampaignReport>();
        Feeds = new ArrayList<FeedReport>();
        Sitelinks = new ArrayList<SitelinksReport>();
        LocationExtensions = new ArrayList<LocationExtensionReport>();
        Calls = new ArrayList<CallsAdExtensionReport>();
        SitelinksFeedItems = new ArrayList<GA_SitelinksFeedItem>();
        CallsFeedItems = new ArrayList<GA_CallsFeedItem>();
        LocationExtensionsFeedItems = new ArrayList<GA_LocationExtensionsFeedItem>();
        //BiddingStrategies = new ArrayList<GA_SharedBiddingStrategy>();
        AdCallMetricsConversions = new ArrayList<AdCallMetricsConversionReport>();
    }



}
